Find components with duplicate GUIDs

Description

Lists components with duplicate GUIDs in the workspace. GUID duplication can occur if you duplicate an existing component in the workspace outside the Alpha Anywhere IDE.

Discussion

Each component has a unique GUID. This GUID is assigned when a new component is created. The GUID is used to keep track of the component's backups. If you create a copy of a component in project using Windows Explorer or other external tool, the new component may have the same GUID as another.

The Find components with duplicate GUIDs will search the project for components with duplicate GUIDs. If any components are found with duplicate GUIDs, you will need to assign a new GUID to one of the components.

Fixing Duplicate GUIDs

  1. On the Web Projects Control Panel for the active Project, select Edit > Bulk Operation > Find components with duplicate GUIDs.

    Locating the Find components with duplicate GUIDs tool
    Locating the Find components with duplicate GUIDs tool
  2. If duplicate GUIDs are found, the Duplicate Guids dialog will be shown.

    Duplicate Guids dialog
    Duplicate Guids dialog
  3. Select a component with a duplicate GUID, then click Change and confirm changing the GUID.

  4. Repeat until all components have unique GUIDs.

To prevent duplicate GUIDs, only duplicate components using Alpha Anywhere's Duplicate tool, which can be found by right-clicking a component on the Web Projects Control Panel.